package me.flyray.bsin.server.domain._gen;

import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;

import java.io.Serializable;

import me.flyray.bsin.server.domain.SysDict;

// tell cpd to start ignoring code - CPD-OFF
/**
 *  字典表: sys_dict
 */
@SuppressWarnings({"PMD"})
public class _SysDict implements Serializable{
    
    /* 编号: ID BIGINT */
    public static final String PROP_NAME_id = "id";
    public static final int PROP_ID_id = 1;
    
    /* Dicttype: DICT_TYPE VARCHAR */
    public static final String PROP_NAME_dictType = "dictType";
    public static final int PROP_ID_dictType = 2;
    
    /* 创建人: CREATE_BY VARCHAR */
    public static final String PROP_NAME_createBy = "createBy";
    public static final int PROP_ID_createBy = 3;
    
    /* 修改人: UPDATE_BY VARCHAR */
    public static final String PROP_NAME_updateBy = "updateBy";
    public static final int PROP_ID_updateBy = 4;
    
    /* 创建时间: CREATE_TIME DATETIME */
    public static final String PROP_NAME_createTime = "createTime";
    public static final int PROP_ID_createTime = 5;
    
    /* 更新时间: UPDATE_TIME DATETIME */
    public static final String PROP_NAME_updateTime = "updateTime";
    public static final int PROP_ID_updateTime = 6;
    
    /* Remark: REMARK VARCHAR */
    public static final String PROP_NAME_remark = "remark";
    public static final int PROP_ID_remark = 7;
    
    /* 0 系统 1 业务类: SYSTEM_FLAG CHAR */
    public static final String PROP_NAME_systemFlag = "systemFlag";
    public static final int PROP_ID_systemFlag = 8;
    
    /* Delflag: DEL_FLAG CHAR */
    public static final String PROP_NAME_delFlag = "delFlag";
    public static final int PROP_ID_delFlag = 9;
    
    /* 所属租户: TENANT_ID BIGINT */
    public static final String PROP_NAME_tenantId = "tenantId";
    public static final int PROP_ID_tenantId = 10;
    

    private static int _PROP_ID_BOUND = 11;

    

    public static final List<String> PK_PROP_NAMES = Arrays.asList(PROP_NAME_id);
    public static final int[] PK_PROP_IDS = new int[]{PROP_ID_id};

    private static final String[] PROP_ID_TO_NAME = new String[11];
    private static final Map<String,Integer> PROP_NAME_TO_ID = new HashMap<>();
    static{
      
          PROP_ID_TO_NAME[PROP_ID_id] = PROP_NAME_id;
          PROP_NAME_TO_ID.put(PROP_NAME_id, PROP_ID_id);
      
          PROP_ID_TO_NAME[PROP_ID_dictType] = PROP_NAME_dictType;
          PROP_NAME_TO_ID.put(PROP_NAME_dictType, PROP_ID_dictType);
      
          PROP_ID_TO_NAME[PROP_ID_createBy] = PROP_NAME_createBy;
          PROP_NAME_TO_ID.put(PROP_NAME_createBy, PROP_ID_createBy);
      
          PROP_ID_TO_NAME[PROP_ID_updateBy] = PROP_NAME_updateBy;
          PROP_NAME_TO_ID.put(PROP_NAME_updateBy, PROP_ID_updateBy);
      
          PROP_ID_TO_NAME[PROP_ID_createTime] = PROP_NAME_createTime;
          PROP_NAME_TO_ID.put(PROP_NAME_createTime, PROP_ID_createTime);
      
          PROP_ID_TO_NAME[PROP_ID_updateTime] = PROP_NAME_updateTime;
          PROP_NAME_TO_ID.put(PROP_NAME_updateTime, PROP_ID_updateTime);
      
          PROP_ID_TO_NAME[PROP_ID_remark] = PROP_NAME_remark;
          PROP_NAME_TO_ID.put(PROP_NAME_remark, PROP_ID_remark);
      
          PROP_ID_TO_NAME[PROP_ID_systemFlag] = PROP_NAME_systemFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_systemFlag, PROP_ID_systemFlag);
      
          PROP_ID_TO_NAME[PROP_ID_delFlag] = PROP_NAME_delFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_delFlag, PROP_ID_delFlag);
      
          PROP_ID_TO_NAME[PROP_ID_tenantId] = PROP_NAME_tenantId;
          PROP_NAME_TO_ID.put(PROP_NAME_tenantId, PROP_ID_tenantId);
      
    }

    
    /* 编号: ID */
    private java.lang.Long _id;
    
    /* Dicttype: DICT_TYPE */
    private java.lang.String _dictType;
    
    /* 创建人: CREATE_BY */
    private java.lang.String _createBy;
    
    /* 修改人: UPDATE_BY */
    private java.lang.String _updateBy;
    
    /* 创建时间: CREATE_TIME */
    private java.time.LocalDateTime _createTime;
    
    /* 更新时间: UPDATE_TIME */
    private java.time.LocalDateTime _updateTime;
    
    /* Remark: REMARK */
    private java.lang.String _remark;
    
    /* 0 系统 1 业务类: SYSTEM_FLAG */
    private java.lang.String _systemFlag;
    
    /* Delflag: DEL_FLAG */
    private java.lang.String _delFlag;
    
    /* 所属租户: TENANT_ID */
    private java.lang.Long _tenantId;
    

    public _SysDict(){
    }

    protected SysDict newInstance(){
       return new SysDict();
    }

    public String orm_entityName() {
      return "me.flyray.bsin.server.domain.SysDict";
    }

    
    /**
     * 编号: ID
     */
    public java.lang.Long getId(){
         //onPropGet(PROP_ID_id);
         return _id;
    }

    /**
     * 编号: ID
     */
    public void setId(java.lang.Long value){
        this._id = value;
    }
    
    /**
     * Dicttype: DICT_TYPE
     */
    public java.lang.String getDictType(){
         //onPropGet(PROP_ID_dictType);
         return _dictType;
    }

    /**
     * Dicttype: DICT_TYPE
     */
    public void setDictType(java.lang.String value){
        this._dictType = value;
    }
    
    /**
     * 创建人: CREATE_BY
     */
    public java.lang.String getCreateBy(){
         //onPropGet(PROP_ID_createBy);
         return _createBy;
    }

    /**
     * 创建人: CREATE_BY
     */
    public void setCreateBy(java.lang.String value){
        this._createBy = value;
    }
    
    /**
     * 修改人: UPDATE_BY
     */
    public java.lang.String getUpdateBy(){
         //onPropGet(PROP_ID_updateBy);
         return _updateBy;
    }

    /**
     * 修改人: UPDATE_BY
     */
    public void setUpdateBy(java.lang.String value){
        this._updateBy = value;
    }
    
    /**
     * 创建时间: CREATE_TIME
     */
    public java.time.LocalDateTime getCreateTime(){
         //onPropGet(PROP_ID_createTime);
         return _createTime;
    }

    /**
     * 创建时间: CREATE_TIME
     */
    public void setCreateTime(java.time.LocalDateTime value){
        this._createTime = value;
    }
    
    /**
     * 更新时间: UPDATE_TIME
     */
    public java.time.LocalDateTime getUpdateTime(){
         //onPropGet(PROP_ID_updateTime);
         return _updateTime;
    }

    /**
     * 更新时间: UPDATE_TIME
     */
    public void setUpdateTime(java.time.LocalDateTime value){
        this._updateTime = value;
    }
    
    /**
     * Remark: REMARK
     */
    public java.lang.String getRemark(){
         //onPropGet(PROP_ID_remark);
         return _remark;
    }

    /**
     * Remark: REMARK
     */
    public void setRemark(java.lang.String value){
        this._remark = value;
    }
    
    /**
     * 0 系统 1 业务类: SYSTEM_FLAG
     */
    public java.lang.String getSystemFlag(){
         //onPropGet(PROP_ID_systemFlag);
         return _systemFlag;
    }

    /**
     * 0 系统 1 业务类: SYSTEM_FLAG
     */
    public void setSystemFlag(java.lang.String value){
        this._systemFlag = value;
    }
    
    /**
     * Delflag: DEL_FLAG
     */
    public java.lang.String getDelFlag(){
         //onPropGet(PROP_ID_delFlag);
         return _delFlag;
    }

    /**
     * Delflag: DEL_FLAG
     */
    public void setDelFlag(java.lang.String value){
        this._delFlag = value;
    }
    
    /**
     * 所属租户: TENANT_ID
     */
    public java.lang.Long getTenantId(){
         //onPropGet(PROP_ID_tenantId);
         return _tenantId;
    }

    /**
     * 所属租户: TENANT_ID
     */
    public void setTenantId(java.lang.Long value){
        this._tenantId = value;
    }
    
}
// resume CPD analysis - CPD-ON
